using MediatR;
using UniversalAdmin.Domain.Common;

namespace UniversalAdmin.Domain.DomainEvents;

public class UserRoleRemovedEvent : IDomainEvent, INotification
{
    public Guid UserId { get; }
    public Guid RoleId { get; }
    public DateTime OccurredOn { get; }
    public UserRoleRemovedEvent(Guid userId, Guid roleId)
    {
        UserId = userId;
        RoleId = roleId;
        OccurredOn = DateTime.UtcNow;
    }
} 